package com.xuecheng.api.content.model.file;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "文件管理",description = "返回实体类数据")
public class UploadTokenResult {

    @ApiModelProperty(value = "token的类别")
    private String tokenType;

    @ApiModelProperty(value = "存储空间名称")
    private String scope;

    @ApiModelProperty(value = "上传文件名")
    private String key;

    @ApiModelProperty(value = "凭证内容")
    private String qnToken;

    @ApiModelProperty(value = "存储区域地址")
    private String up_region;

    @ApiModelProperty(value = "cdn域名")
    private String domain;

    @ApiModelProperty(value = "上传凭证的存活时间")
    private int deadline;

}
